package com.wjp.banquet.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wjp.banquet.dto.GiftMoneyPageQueryDTO;
import com.wjp.banquet.entity.Banquet;
import com.wjp.banquet.entity.GiftMoney;
import com.wjp.banquet.vo.BanquetVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface GiftMoneyMapper extends BaseMapper<GiftMoney> {

    List<GiftMoney> getPageList(GiftMoneyPageQueryDTO dto);

    List<GiftMoney> getAllList(GiftMoneyPageQueryDTO dto);

    BanquetVO getSummaryByBanquetId(@Param("banquetId") Integer banquetId);
}
